package com.ruoyi.common.log.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 零售表

 * @TableName sys_retail
 */
@TableName(value ="sys_retail")
@Data
public class Retail implements Serializable {
    /**
     * 零售主键id
     */
    private String shopId;

    /**
     * 省
     */
    private Integer aid;

    /**
     * 市
     */
    private Integer bid;

    /**
     * 区
     */
    private Integer cid;

    /**
     * 产品价格
     */
    private BigDecimal price;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 创建时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    /**
     * 产品名称
     */
    private String productName;

    /**
     * 备注
     */
    private String remark;

    /**
     * 保质期(天)
     */
    private Integer shelfLife;

    /**
     * 删除主键
     */
    private Integer deleteId;

    /**
     * 联系人手机号
     */
    private String phone;

    /**
     * 图片
     */
    private String avatar;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 城市
     */
    private String city;

    /**
     * 天气
     */
    private String weather;

    /**
     * 温度
     */
    private String temperature;

    /**
     * 湿度
     */
    private String humidness;

    /**
     * 风向
     */
    private String windDirection;

    /**
     * 风力
     */
    private String windForce;

    /**
     * 空气质量
     */
    private String airQuality;

    /**
     * 状态
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    //用于字段
    @TableField(exist = false)
    private String provinceName;
    @TableField(exist = false)
    private String cityName;
    @TableField(exist = false)
    private String districtName;
    @TableField(exist = false)
    private String yphone;
    @TableField(exist = false)
    private String[] createTimes;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
 @TableField(exist = false)
    private String picType;
    @TableField(exist = false)
    private String retailName;
}